package com.shenjian.commons.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/page")
public class IndexController {
    /*各种页面跳转*/
    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/settings/index")
    public String settings() {
        return "settings/index";
    }

    @RequestMapping("/workbench/index")
    public String workbench() {
        return "workbench/index";
    }

    @RequestMapping("/workbench/main/index")
    public String workbenchMainIndex() {
        return "workbench/main/index";
    }

    @RequestMapping("/settings/qx/index")
    public String settingsQxIndex() {
        return "settings/qx/index";
    }

    @RequestMapping("/settings/qx/user/index")
    public String settingsQxUserIndex() {
        return "settings/qx/user/index";
    }

    @RequestMapping("/settings/qx/role/index")
    public String settingsQxRoleIndex() {
        return "settings/qx/role/index";
    }

    @RequestMapping("/settings/qx/permission/index")
    public String settingsQxPermissionIndex() {
        return "settings/qx/permission/index";
    }

    @RequestMapping("/settings/dictionary/index")
    public String settingsDictionaryIndex() {
        return "settings/dictionary/index";
    }

    @RequestMapping("/settings/dictionary/type/index")
    public String settingsDictionaryTypeIndex() {
        return "settings/dictionary/type/index";
    }

    @RequestMapping("/settings/dictionary/value/index")
    public String settingsDictionaryValueIndex() {
        return "settings/dictionary/value/index";
    }



    @RequestMapping("/workbench/activity/index")
    public String workbenchActivityIndex() {
        return "workbench/activity/index";
    }


}
